<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="http://api.map.baidu.com/api?v=2.0&ak=923BLW3BSByWj8aZIhsmTYwzGZTwsxek

" type="text/javascript"
            charset="utf-8"></script>
    <style type="text/css">
        html {
            height: 100%
        }

        body {
            height: 100%;
            margin: 0px;
            padding: 0px
        }

        #container {
            height: 100%
        }
    </style>
</head>

<body>
<h3>我的地图</h3>
<div id="container"></div>
<script type="text/javascript">
    var map = new BMap.Map("container");// 创建地图实例
    var point = new BMap.Point(120, 38);// 创建点坐标 渤海
    map.centerAndZoom(point, 8);// 初始化地图，设置中心点坐标和地图级别
    map.enableScrollWheelZoom(true);//使用滚轮缩放地图
</script>


</body>

</html>